package cn.exrick.xboot.factory.methodRequest;

import cn.exrick.xboot.base.XbootBaseEntity;
import cn.exrick.xboot.pojo.MethodRequest;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: njp
 * @Date: 2020/09/10/16:12
 * @Description:
 */
public class RequestFactory {

     public  <T extends XbootBaseEntity> MethodRequest buildRequest(T c, boolean flag){
        return new MethodRequest(flag,c );
     }

}
